package com.miaoan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 科目表
 * @TableName subjects
 */
@TableName(value ="subjects")
@Data
public class Subjects implements Serializable {
    /**
     * 科目id
     */
    @TableId(type = IdType.AUTO)
    private Long subjectId;

    /**
     * 科目名称
     */
    private String subjectName;

    /**
     * 科目人数
     */
    private Integer subjectMemberCount;

    /**
     * 科目说明
     */
    private String subjectExplain;

    /**
     * 所属部门
     */
    private Long departmentId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}